package com.mes.cloud.api.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 模块树表
 * 
 * @author Mr.zhang
 * @email 407892370@qq.com
 * @version 2019-07-30 13:43:20
 */
@Data
public class SysModuleTreePageRequest implements Serializable{
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "当前页", required = true)
    @NotNull(message = "当前页不能为空")
    private int currentPage;

    @ApiModelProperty(value = "每页条数", required = true)
    @NotNull(message = "每页条数不能为空")
    private int pageSize;

    @ApiModelProperty(value = "类型 1.数据字典 2.系统参数 3.角色列表", required = false)
    private Integer type;

}
